package com.base.service;

import java.util.List;
import java.util.Map;

import com.common.util.PagerModel;

public interface DepartmentService {
	
	public void addDepartment(Object obj);
	
	public void addDepartment(Object obj, String supdept);
	
	public void removeDepartment(String deptcode);
	
	public Object findDepartment(String deptcode);
	
	public List findAllDepartment();
	
	public List findAllChild(Long tid);
	
	public List findAllleafDepartment();
	
	public PagerModel findAllDept(String deptcode) ;
	
	public PagerModel findDeptByDeptcaption(String deptcaption);
	
	public void updateDepartment(Object obj);
	
	public List<Map> findAllDeptMap();
}